/*
 * 현대적 디자인 CSS - 전체 화면 너비 버전
 * - 화면에 여백 없이 가로로 꽉 차는 레이아웃
 * - 심플하고 미니멀한 UI
 * - 아이콘 기반 네비게이션
 * - 반응형 디자인
 * - 모바일 메뉴 투명도 문제 해결
 * - 슬라이드 애니메이션 개선
 */

:root {
    --primary-color: #3182ce;
    --secondary-color: #2b6cb0;
    --accent-color: #ebf4ff;
    --dark-color: #1a365d;
    --gray-color: #4a5568;
    --light-gray: #e2e8f0;
    --border-color: #e9ecef;
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --container-width: 100%;
}

/* 기본 스타일 */
body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* 컨테이너 - 가로 폭 전체 화면으로 */
.container {
    max-width: 100%;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
}

.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
}

/* 그리드 시스템 개선 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

/* 컨텐츠 내부 여백 조정 */
.content-padding {
    padding: 0 15px;
}

/* 텍스트 스타일 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

/* 헤더 스타일 - 투명도 문제 해결 */
.blog-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.blog-header-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: var(--transition);
    padding: 0 15px;
}

.blog-header-logo:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* 네비게이션 - 아이콘 스타일 및 투명도 문제 해결 */
.navbar {
    padding: 0.5rem 0;
    background-color: #fff !important;
    box-shadow: var(--shadow);
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--dark-color) !important;
}

.nav-link i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* 드롭다운 메뉴 - 투명도 문제 해결 */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 12rem;
    background-color: #fff !important;
    opacity: 1 !important;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    border-radius: var(--border-radius);
}

/* 이미지 스타일 */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    user-select: none;
    width: 100%;
}

/* 가로 전체 이미지 */
.full-width-img {
    width: 100%;
    object-fit: cover;
}

/* 카드 스타일 */
.card {
    border: none;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    width: 100%;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
}

.card-gray {
    background: #f8fafc;
}

.card-container {
    padding: 0;
    width: 100%;
}

.card-img-right {
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    width: 100%;
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.card p {
    color: var(--gray-color);
    line-height: 1.6;
}


/* 캐러셀 - 슬라이드 애니메이션 개선 */
.carousel {
    margin-top: 0 !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.carousel-item.active {
    display: block;
    animation: fadeIn 1.2s ease-in-out;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-100%);
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    color: #fff;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.15s ease;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    border: none;
}

.carousel-control-next {
    right: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators li {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    margin-left: 5px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
}

.main-slide-img {
    object-fit: cover;
    width: 100%;
    height: 700px;
    transition: transform 1.2s ease;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes panImage {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    25% {
        transform: scale(1.1) translate(-2%, -2%);
    }
    50% {
        transform: scale(1.1) translate(0, 0);
    }
    75% {
        transform: scale(1.1) translate(2%, 2%);
    }
    100% {
        transform: scale(1.1) translate(0, 0);
    }
}

.carousel-item.active .main-slide-img {
    animation: panImage 30s infinite;
}

.carousel-caption {
    position: absolute;
    right: 25%;
    bottom: 5%;
    left: 25%;
    z-index: 10;
    padding: 1.5rem;
    color: #ffffff;
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
    background: none;
    backdrop-filter: none;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #FFD700;
    text-shadow: 4px 4px 12px rgba(0,0,0,0.95), 0 0 32px rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

.carousel-caption p {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #FFD700;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.6);
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .carousel-caption {
        right: 15%;
        bottom: 5%;
        left: 15%;
        padding: 1rem;
        max-width: 70%;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
        color: #FFD700;
        text-shadow: 
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.8),
            0 0 15px rgba(0,0,0,0.8);
    }
    
    .carousel-caption p {
        font-size: 1.5rem;
        color: #FFD700;
        text-shadow: 
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.8),
            0 0 15px rgba(0,0,0,0.8);
    }
}

/* 블로그 포스트 */
.blog-post {
    margin-bottom: 3rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    width: 100%;
}

.blog-post-title {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.blog-post-meta {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 페이지네이션 */
.blog-pagination {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-pagination > .btn {
    border-radius: 2rem;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* 푸터 */
.blog-footer {
    padding: 3rem 0;
    color: var(--gray-color);
    text-align: center;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    width: 100%;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

/* 아이콘 그리드 레이아웃 */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
    padding: 0 15px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.icon-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.icon-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* 버튼 스타일 */
.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2c5282;
    border-color: #2c5282;
}

/* 마이페이지 메뉴 */
.sc-mypage-menu {
    width: 100%;
}

.sc-mypage-menu > .btn-group {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.sc-mypage-menu > .btn-group > a {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    min-width: 120px;
}

/* 스마트큐빅 스타일 */
.sc-item-cubic {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    background-color: #fff;
    box-shadow: var(--shadow);
    width: 100%;
}

.sc-item-cubic:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.sc-item-cubic .figure {
    margin: 0;
    position: relative;
    width: 100%;
}

.sc-item-cubic .figure .app-img {
    width: 100%;
    height: 180px !important;
    object-fit: cover;
    border-radius: 0;
}

.sc-item-cubic .figure .app-img.img-thumbnail {
    padding: 0;
    border: none;
}

.sc-item-cubic .figure .app-img + .figure-caption {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
    padding: 1rem;
}

/* 반응형 스타일 */
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    .h-md-250 {
        height: 250px;
    }
    
    .nav-item {
        font-size: 15px;
    }
    
    .main-slide-img {
        height: 800px;
    }
    
    .container, .container-fluid {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .carousel-caption {
        right: 15%;
        bottom: 5%;
        left: 15%;
        padding: 1rem;
        max-width: 70%;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
        color: #FFD700;
        text-shadow: 
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.8),
            0 0 15px rgba(0,0,0,0.8);
    }
    
    .carousel-caption p {
        font-size: 1.5rem;
        color: #FFD700;
        text-shadow: 
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.8),
            0 0 15px rgba(0,0,0,0.8);
    }
    
    .outlined-text {
        font-size: 1.8rem;
    }
    
    .main-slide-img {
        height: 400px;
    }
    
    :root {
        --container-width: 100%;
    }
    
    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        outline: none !important;
        margin-right: 15px;
    }
    
    #navbarNavDropdown {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: #fff !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1050;
        opacity: 1 !important;
    }
    
    #navbarNavDropdown.show {
        transform: translateX(0);
    }
    
    .nav-item {
        font-size: 16px;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
    }
    
    .nav-link {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-link i {
        margin-bottom: 0;
    }
    
    .dropdown-menu {
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        border-radius: 0;
        padding-left: 1rem;
        background-color: #fff !important;
        opacity: 1 !important;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
    
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .content-padding-mobile {
        padding: 0 10px;
    }
    
    .dropdown-menu.show {
        display: block !important;
        opacity: 1 !important;
        background-color: #fff !important;
    }
    
    .dropdown-menu[aria-labelledby="userDropdown"] {
        background-color: #fff !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        opacity: 1 !important;
        border: 1px solid var(--border-color);
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        z-index: 1051;
    }
}

/* 다크 모드 토글 */
.dark-mode-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--dark-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    transform: rotate(45deg);
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 슬라이드 애니메이션 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        visibility: visible;
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        visibility: visible;
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.carousel-item.active.slide-in-right {
    animation: slideInRight 0.6s forwards;
}

.carousel-item.active.slide-in-left {
    animation: slideInLeft 0.6s forwards;
}

.carousel-item.slide-out-right {
    animation: slideOutRight 0.6s forwards;
}

.carousel-item.slide-out-left {
    animation: slideOutLeft 0.6s forwards;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* 전체 너비 유틸리티 클래스 */
.w-100 {
    width: 100% !important;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

/* 인라인 요소 정렬 */
.inline-block {
    display: inline-block;
    width: 100%;
}

/* 모바일 메뉴 투명도 문제 해결을 위한 추가 스타일 */
body.menu-open {
    overflow: hidden;
}

.dropdown-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1049;
    display: none;
}

body.menu-open .dropdown-menu-overlay {
    display: block;
}

/* 모바일 친화적인 스와이프 캐러셀 */
.carousel-touch {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

/* 슬라이드 인디케이터 개선 */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    background-color: #fff;
    width: 15px;
    height: 15px;
}

/* 모바일 화면에서 상단 메뉴 고정 및 배경 불투명화 */
@media (max-width: 767px) {
    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
    
    .navbar {
        background-color: #fff !important;
    }
    
    .dropdown-menu[aria-labelledby="userDropdown"] {
        position: absolute;
        background-color: #fff !important;
        opacity: 1 !important;
        border: 1px solid var(--border-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }
    
    .carousel-item {
        height: auto;
    }
    
    .navbar, 
    .navbar-collapse, 
    .navbar-collapse.show, 
    .navbar-collapse.collapsing {
        background-color: #fff !important;
        opacity: 1 !important;
    }
}

/* ===== 현대적 슬라이드 및 아이콘 추가 ===== */

/* 슬라이드(캐러셀) */
.modern-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.modern-carousel-slide {
    position: absolute;
    width: 100%;
    height: 400px;
    opacity: 0;
    transition: opacity 1s, transform 1s;
    background-size: cover;
    background-position: center;
}

.modern-carousel-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.03);
}

.modern-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.modern-carousel-indicators span {
    display: block;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.3s;
}

.modern-carousel-indicators span.active {
    opacity: 1;
    transform: scale(1.2);
    background: var(--primary-color, #3498db);
}

/* 현대적 디자인 아이콘 */
.icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #6dd5fa 100%);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(52,152,219,0.15);
    margin: 8px;
    transition: transform 0.2s;
}

.icon-modern:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 4px 16px rgba(52,152,219,0.25);
}

/* 체크 아이콘 (CSS만으로) */
.icon-check {
    width: 24px;
    height: 24px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    margin: 0 auto;
}

/* HTML 파일에 있었던 추가 스타일 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    margin-top: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.section {
    padding: 5rem 2rem;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f8fafc;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.step-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
